#include "main.h"

SUITE_EXTERN(co);
SUITE_EXTERN(evq);
SUITE_EXTERN(comp);

GREATEST_MAIN_DEFS();

int main(int argc, char **argv)
{
    /* kill weird GCC bug */
    argc = 0;
    argv = NULL;

    bsp_initialize();

    GREATEST_MAIN_BEGIN();

    RUN_SUITE(co);
    RUN_SUITE(evq);
    RUN_SUITE(comp);

    GREATEST_MAIN_END();
}

//**************************************
// Framework and interrupt callbacks and variables
//**************************************
extern volatile uint32_t systick_counter;

tick_ms evq_get_tick(void)
{
    return systick_counter;
}
